package com.example.gpssystem.model;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.time.LocalDateTime;

@Document(collection = "operation_logs")
@Data
public class OperationLog {
    @Id
    private String id;
    private LocalDateTime operationTime;
    private String method;
    private String parameters;
    private String result;
}

